package com.truing.flycodebill.settings.mapper;

import com.truing.flycodebill.settings.domain.User;

import java.util.Map;

public interface UserMapper {
    /**
     * 根据用户账号密码查询用户
     * @param map
     * @return
     */
    User selectUserByLoginActAndPwd(Map<String,Object> map);

    /**
     * 根据用户id查询用户信息
     * @param id
     * @return
     */
    User selectUserById(String id);


    /**
     *插入用户
     * @param user
     * @return
     */
    int insertUser(User user);
}